package com.ruoyi.bigbase.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户实名认证对象 identity_verification
 * 
 * @author bigbase
 * @date 2025-05-10
 */
public class IdentityVerification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 认证ID(主键) */
    private Long id;

    /** 用户ID(外键) */
    private Long uid;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 民族 */
    @Excel(name = "民族")
    private String nation;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String address;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 身份证正面URL */
    @Excel(name = "身份证正面URL")
    private String front;

    /** 身份证反面URL */
    @Excel(name = "身份证反面URL")
    private String opposite;

    /** 人脸比对分数 */
    @Excel(name = "人脸比对分数")
    private Long score;

    /** 人脸图片URL */
    @Excel(name = "人脸图片URL")
    private String faceImg;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public void setNation(String nation) 
    {
        this.nation = nation;
    }

    public String getNation() 
    {
        return nation;
    }

    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setFront(String front) 
    {
        this.front = front;
    }

    public String getFront() 
    {
        return front;
    }

    public void setOpposite(String opposite) 
    {
        this.opposite = opposite;
    }

    public String getOpposite() 
    {
        return opposite;
    }

    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    public void setFaceImg(String faceImg) 
    {
        this.faceImg = faceImg;
    }

    public String getFaceImg() 
    {
        return faceImg;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("name", getName())
            .append("sex", getSex())
            .append("nation", getNation())
            .append("birthday", getBirthday())
            .append("address", getAddress())
            .append("idCard", getIdCard())
            .append("front", getFront())
            .append("opposite", getOpposite())
            .append("score", getScore())
            .append("faceImg", getFaceImg())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
